package model

import (
	"meaile-server/meaile-user/model"
	"time"
)

type MeaileFoodVo struct {
	Id           int64            `gorm:"column:primaryKey;id" json:"Id"`          //type:BIGINT       comment:主键            version:2024-08-30 10:24
	FoodName     string           `gorm:"column:food_name" json:"FoodName"`        //type:string       comment:餐品名称        version:2024-08-30 10:24
	Image        string           `gorm:"column:image" json:"Image"`               //type:string       comment:菜品封面图片    version:2024-08-30 10:24
	Introduction string           `gorm:"column:introduction" json:"Introduction"` //type:string       comment:菜品介绍        version:2024-08-30 10:24
	Favorite     float64          `gorm:"column:favorite" json:"Favorite"`         //type:*float64     comment:评分            version:2024-08-30 10:24
	CreatedBy    string           `gorm:"column:CREATED_BY" json:"CreatedBy"`      //type:string       comment:创建人          version:2024-08-30 10:24
	CreatedTime  time.Time        `gorm:"column:CREATED_TIME" json:"CreatedTime"`  //type:*time.Time   comment:创建时间        version:2024-08-30 10:24
	UpdatedBy    string           `gorm:"column:UPDATED_BY" json:"UpdatedBy"`      //type:string       comment:更新人          version:2024-08-30 10:24
	UpdatedTime  time.Time        `gorm:"column:UPDATED_TIME" json:"UpdatedTime"`  //type:*time.Time   comment:更新时间        version:2024-08-30 10:24
	Creator      model.MeaileUser `json:"creator"`
}
